// Nicholas Lineback and Jeremy Cowan
#pragma once
#include "init.h"
#include "cache.h"
#include <vector>
#include <iostream>
#include <iomanip>
class hierarchy
{
 public:
  hierarchy();
  ~hierarchy();
  void load_store(mem_instruction);
  void updateLRU();
  double calc_AMAT();
  void printData();
 protected:
  std::vector<cache> mem_system;
  unsigned int hitTimes[3];
};
